﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:system="clr-namespace:System;assembly=mscorlib"
                    xmlns:converters="clr-namespace:BizControl.Presentation.Infrastructure.Converters">

    <!-- Converters -->
    <converters:IntToPercentConverter x:Key="IntToPercentConverter" />
    <converters:ImageConverter x:Key="ImageConverter" DefaultImageSource="{StaticResource defaultUserImage}"  />
    <converters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter" />
    <converters:BoolFalseToVisibilityConverter x:Key="BoolFalseToVisibilityConverter" />
    <converters:BoolToPathConverter x:Key="BoolToPathConverter" />
    <converters:TrueToFalseConverter x:Key="TrueToFalseConverter" />
    <converters:NullToVisibilityConverter x:Key="NullToVisibilityConverter" />
    <converters:TriggerConverter x:Key="TriggerConverter" />
    <converters:ActivityStateToBrushConverter x:Key="ActivityStateToBrushConverter" 
                                              OverdueTaskBrush="{StaticResource OverdueBrush}"
                                              CompletedTaskBrush="{StaticResource CompletedBrush}"
                                              NotStartedTaskBrush="{StaticResource NotStartedBrush}"/>
    <converters:MarkStateToBrushConverter x:Key="MarkStateToBrushConverter" 
                                          OverdueTaskBrush="{StaticResource OverdueBrush}"
                                          CompletedTaskBrush="{StaticResource CompletedBrush}"
                                          NotStartedTaskBrush="{StaticResource NotStartedBrush}"/>

</ResourceDictionary>